package leecode

func maximumCount(nums []int) int {
	maxNum, minNum := 0, 0
	for _, num := range nums {
		if num < 0 {
			minNum++
		} else if num > 0 {
			maxNum++
		}
	}
	return max(maxNum, minNum)
}
